<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">


	<ui:define name="body">
	<input type="button" value="HideTree" class="buttonBslidedown"></input>
			<input type="button" value="ShowTree" class="buttonBslideup"></input>
			<div id="treediv">
		<h:form id="treeForm">
			<h:messages globalOnly="true" styleClass="message" />
			
			
			
			<h:panelGrid columns="2" width="100%" columnClasses="col1,col2">
				<rich:tree id="mainTree" style="width:300px" 
					reRender="todos,mylogs" ajaxSubmitSelection="true"
					switchType="client"  value="#{rootNode}" var="item"
					nodeSelectListener="#{subjectaction.processSelection}" >

				</rich:tree>
				<h:panelGroup>
					<h:panelGrid columns="1">
						

					</h:panelGrid>
				</h:panelGroup>
				</h:panelGrid>
			</h:form>	
			
			</div>
			<a4j:keepAlive beanName="curSubject"></a4j:keepAlive>
			
			
			<rich:separator height="1"></rich:separator>
			
			<h:form>
			
			<a4j:include viewId="/list_todo_log_com.xhtml"></a4j:include>
			</h:form>
			
	

	</ui:define>


</ui:composition>
